(apropos): Restore autoload cookie. Fix error
authorJohn Paul Wallington <jpw@pobox.com>
Tue, 14 Jan 2003 20:47:21 +0000 (20:47 +0000)
committerJohn Paul Wallington <jpw@pobox.com>
Tue, 14 Jan 2003 20:47:21 +0000 (20:47 +0000)
message typo.

lisp/ChangeLog
lisp/apropos.el

index 1c4e60ceb3d21e6b950f81eec2ae2fe3951712c7..da697f7cff25f050c8c14555a219bd6b66bd3f43 100644 (file)
@@ -1,3 +1,8 @@
+2003-01-14  John Paul Wallington  <jpw@shootybangbang.com>
+
+       * apropos.el (apropos): Restore autoload cookie.  Fix error
+       message typo.
+
 2003-01-14  Kim F. Storm  <storm@cua.dk>
 
        * subr.el (process-put, process-get): New functions.
index 159ad669d3e6ea7ef5ded36d5640f805bfa26870..63450adbc62a9ba5eeb43013beeb0d2c3a9ec48c 100644 (file)
@@ -440,6 +440,8 @@ satisfy the predicate VAR-PREDICATE."
          "(not documented)"))
     (error "(error retrieving documentation)")))
 
+
+;;;###autoload
 (defun apropos (apropos-regexp &optional do-all)
   "Show all bound symbols whose names match APROPOS-REGEXP.
 With optional prefix DO-ALL or if `apropos-do-all' is non-nil, also
@@ -473,7 +475,7 @@ time-consuming.  Returns list of symbols and documentation found."
                                   (void-function
                                    "(alias for undefined function)")
                                   (error
-                                   "(error retrieving function documentation")))
+                                   "(error retrieving function documentation)")))
                       (substring doc 0 (string-match "\n" doc))
                     "(not documented)"))
                 (when (boundp symbol)